package org.mebusw.davincicode;

import org.mebusw.game.IPlayerState;


public abstract class PlayerState implements IPlayerState{
	public static final int TAKING = 1;
	public static final int FIRSTGUESSING = 2;
	public static final int MOREGUESSING = 5;
	public static final int INSERTING = 3;


	public String toString(int state) {
		switch (state) {
		case WAITING:
			return "Waiting";
		case TAKING:
			return "Taking";
		case FIRSTGUESSING:
			return "First Guessing";
		case MOREGUESSING:
			return "More Guessing";
		case INSERTING:
			return "Inserting";
		case GAMEOVER:
			return "Game Over";			
		default:
			return "Unknown State";
		}
	}

}
